package com.zijin.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Title: Authority
 * @Author JWei Xu
 * @Package com.zijin.annotation
 * @Date 2025/2/1 19:53
 * @description: 权限判断的注解
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Authority {
    String[] value();

    boolean isAll() default false;

}
